home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / Filezilla Server / FileZilla_Server-0_9_41.exe / source / interface / UsersDlgSharedFolders.h < prev    next >
C/C++ Source or Header  |  2011-11-06  |  4KB  |  110 lines

  1. // FileZilla Server - a Windows ftp server
  2.  
  3. // Copyright (C) 2002-2004 - Tim Kosse <tim.kosse@gmx.de>
  4.  
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the GNU General Public License
  7. // as published by the Free Software Foundation; either version 2
  8. // of the License, or (at your option) any later version.
  9.  
  10. // This program is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. // GNU General Public License for more details.
  14.  
  15. // You should have received a copy of the GNU General Public License
  16. // along with this program; if not, write to the Free Software
  17. // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  18.  
  19. #if !defined(AFX_USERSDLGSHAREDFOLDERS_H__5348112C_F36E_42D1_B073_78272B897DDA__INCLUDED_)
  20. #define AFX_USERSDLGSHAREDFOLDERS_H__5348112C_F36E_42D1_B073_78272B897DDA__INCLUDED_
  21.  
  22. #if _MSC_VER > 1000
  23. #pragma once
  24. #endif // _MSC_VER > 1000
  25. // UsersDlg.h : Header-Datei
  26. //
  27.  
  28. #include "UsersDlg.h"
  29.  
  30. /////////////////////////////////////////////////////////////////////////////
  31. // Dialogfeld CUsersDlgSharedFolders 
  32. class CUsersDlgSharedFolders : public CSAPrefsSubDlg
  33. {
  34.     friend CUsersDlg;
  35. // Konstruktion
  36. public:
  37.     CUsersDlgSharedFolders(CUsersDlg* pOwner = NULL);   // Standardkonstruktor
  38.     ~CUsersDlgSharedFolders();
  39.  
  40.     BOOL DisplayUser(t_user *pUser);
  41.     BOOL SaveUser(t_user *pUser);
  42.  
  43. protected:
  44.  
  45. // Dialogfelddaten
  46.     //{{AFX_DATA(CUsersDlgSharedFolders)
  47.     enum { IDD = IDD_USERS_SHAREDFOLDERS };
  48.     CButton    m_cDirsCreate;
  49.     CButton    m_cDirsDelete;
  50.     CButton    m_cDirsList;
  51.     CButton    m_cDirsSubdirs;
  52.     CButton    m_cFilesRead;
  53.     CButton    m_cFilesWrite;
  54.     CButton    m_cFilesDelete;
  55.     CButton    m_cFilesAppend;
  56.     CListCtrl    m_cDirs;
  57.     BOOL    m_bDirsCreate;
  58.     BOOL    m_bDirsDelete;
  59.     BOOL    m_bDirsList;
  60.     BOOL    m_bDirsSubdirs;
  61.     BOOL    m_bFilesAppend;
  62.     BOOL    m_bFilesDelete;
  63.     BOOL    m_bFilesRead;
  64.     BOOL    m_bFilesWrite;
  65.     //}}AFX_DATA
  66.  
  67.  
  68. // ▄berschreibungen
  69.     // Vom Klassen-Assistenten generierte virtuelle Funktionsⁿberschreibungen
  70.     //{{AFX_VIRTUAL(CUsersDlgSharedFolders)
  71.     public:
  72.     virtual BOOL PreTranslateMessage(MSG* pMsg);
  73.     protected:
  74.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV-Unterstⁿtzung
  75.     //}}AFX_VIRTUAL
  76.  
  77. // Implementierung
  78. protected:
  79.     CUsersDlg *m_pOwner;
  80.     CImageList m_imagelist;
  81.     void SetCtrlState();
  82.     CString Validate();
  83.  
  84.     // Generierte Nachrichtenzuordnungsfunktionen
  85.     //{{AFX_MSG(CUsersDlgSharedFolders)
  86.     virtual BOOL OnInitDialog();
  87.     afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  88.     afx_msg void OnItemchangedDirs(NMHDR* pNMHDR, LRESULT* pResult);
  89.     afx_msg void OnItemchangingDirs(NMHDR* pNMHDR, LRESULT* pResult);
  90.     afx_msg void OnDirmenuAdd();
  91.     afx_msg void OnDirmenuRemove();
  92.     afx_msg void OnDirmenuRename();
  93.     afx_msg void OnDirmenuSetashomedir();
  94.     afx_msg void OnEndlabeleditDirs(NMHDR* pNMHDR, LRESULT* pResult);
  95.     afx_msg void OnDblclkDirs(NMHDR* pNMHDR, LRESULT* pResult);
  96.     afx_msg void OnFilesWrite();
  97.     afx_msg void OnDiradd();
  98.     afx_msg void OnDirremove();
  99.     afx_msg void OnDirrename();
  100.     afx_msg void OnDirsetashome();
  101.     afx_msg void OnDirmenuEditAliases();
  102.     //}}AFX_MSG
  103.     DECLARE_MESSAGE_MAP()
  104. };
  105.  
  106. //{{AFX_INSERT_LOCATION}}
  107. // Microsoft Visual C++ fⁿgt unmittelbar vor der vorhergehenden Zeile zusΣtzliche Deklarationen ein.
  108.  
  109. #endif // AFX_USERSDLGSHAREDFOLDERS_H__5348112C_F36E_42D1_B073_78272B897DDA__INCLUDED_
  110.